package com.windoent.yugioh.bean;

import com.google.gson.annotations.SerializedName;
import com.windoent.yugioh.DemoBean;

import java.util.List;

/**
 * author : robert
 * date   : 2021/6/22 13:56
 * desc   :
 */
public class OnGoingDuiZhenBean {


    /**
     * code : 200
     * data : {"againstResultView":{"0":"还未提交成绩","1":"胜","2":"平","3":"负","4":"双负"},"againstStatusView":{"1":"进行中","2":"审核中","3":"成绩有效","4":"成绩无效"},"isNextRoundBtn":false,"isStartMatch":false,"isStartMatchAgainst":false,"nextRoundNum":0,"res":[{"id":1,"v_id":100002,"is_join":false,"a_id":1002025,"b_id":1002026,"a_nickname":"","b_nickname":"","a_avatar":"","b_avatar":"","desk_name":"第1桌","status_view":"进行中","status_id":1,"is_verify":false,"a_result":0,"b_result":0,"Sort":0}],"roles":"plays"}
     * msg : 查询成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * againstResultView : {"0":"还未提交成绩","1":"胜","2":"平","3":"负","4":"双负"}
         * againstStatusView : {"1":"进行中","2":"审核中","3":"成绩有效","4":"成绩无效"}
         * isNextRoundBtn : false
         * isStartMatch : false
         * isStartMatchAgainst : false
         * nextRoundNum : 0
         * res : [{"id":1,"v_id":100002,"is_join":false,"a_id":1002025,"b_id":1002026,"a_nickname":"","b_nickname":"","a_avatar":"","b_avatar":"","desk_name":"第1桌","status_view":"进行中","status_id":1,"is_verify":false,"a_result":0,"b_result":0,"Sort":0}]
         * roles : plays
         */

        private AgainstResultViewBean againstResultView;
        private AgainstResultViewBean againstStatusView;
        private boolean isNextRoundBtn;
        private boolean isStartMatch;
        private boolean isStartMatchAgainst;
        private boolean isEditButton;
        private int nextRoundNum;
        private String role;
        private List<ResBean> res;
        private SelectFilterBean selectFilter;
        private List<FilterBean> filter;

        public boolean isEditButton() {
            return isEditButton;
        }

        public void setEditButton(boolean editButton) {
            isEditButton = editButton;
        }

        public SelectFilterBean getSelectFilter() {
            return selectFilter;
        }

        public void setSelectFilter(SelectFilterBean selectFilter) {
            this.selectFilter = selectFilter;
        }

        public List<FilterBean> getFilter() {
            return filter;
        }

        public void setFilter(List<FilterBean> filter) {
            this.filter = filter;
        }

        public AgainstResultViewBean getAgainstResultView() {
            return againstResultView;
        }

        public void setAgainstResultView(AgainstResultViewBean againstResultView) {
            this.againstResultView = againstResultView;
        }

        public AgainstResultViewBean getAgainstStatusView() {
            return againstStatusView;
        }

        public void setAgainstStatusView(AgainstResultViewBean againstStatusView) {
            this.againstStatusView = againstStatusView;
        }

        public boolean isIsNextRoundBtn() {
            return isNextRoundBtn;
        }

        public void setIsNextRoundBtn(boolean isNextRoundBtn) {
            this.isNextRoundBtn = isNextRoundBtn;
        }

        public boolean isIsStartMatch() {
            return isStartMatch;
        }

        public void setIsStartMatch(boolean isStartMatch) {
            this.isStartMatch = isStartMatch;
        }

        public boolean isIsStartMatchAgainst() {
            return isStartMatchAgainst;
        }

        public void setIsStartMatchAgainst(boolean isStartMatchAgainst) {
            this.isStartMatchAgainst = isStartMatchAgainst;
        }

        public int getNextRoundNum() {
            return nextRoundNum;
        }

        public void setNextRoundNum(int nextRoundNum) {
            this.nextRoundNum = nextRoundNum;
        }

        public String getRoles() {
            return role;
        }

        public void setRoles(String roles) {
            this.role = roles;
        }

        public List<ResBean> getRes() {
            return res;
        }

        public void setRes(List<ResBean> res) {
            this.res = res;
        }

        public static class AgainstResultViewBean {
            /**
             * 0 : 还未提交成绩
             * 1 : 胜
             * 2 : 平
             * 3 : 负
             * 4 : 双负
             */

            @SerializedName("0")
            private String _$0;
            @SerializedName("1")
            private String _$1;
            @SerializedName("2")
            private String _$2;
            @SerializedName("3")
            private String _$3;
            @SerializedName("4")
            private String _$4;

            public String get_$0() {
                return _$0;
            }

            public void set_$0(String _$0) {
                this._$0 = _$0;
            }

            public String get_$1() {
                return _$1;
            }

            public void set_$1(String _$1) {
                this._$1 = _$1;
            }

            public String get_$2() {
                return _$2;
            }

            public void set_$2(String _$2) {
                this._$2 = _$2;
            }

            public String get_$3() {
                return _$3;
            }

            public void set_$3(String _$3) {
                this._$3 = _$3;
            }

            public String get_$4() {
                return _$4;
            }

            public void set_$4(String _$4) {
                this._$4 = _$4;
            }
        }

        public static class SelectFilterBean {
            /**
             * rounds : 2
             * statusId : 4
             */

            private int rounds;
            private int statusId;
            private String title;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getRounds() {
                return rounds;
            }

            public void setRounds(int rounds) {
                this.rounds = rounds;
            }

            public int getStatusId() {
                return statusId;
            }

            public void setStatusId(int statusId) {
                this.statusId = statusId;
            }
        }

        public static class FilterBean {
            /**
             * title : 瑞士轮第 1 轮
             * statusId : 4
             * rounds : 1
             */

            private String title;
            private int statusId;
            private int rounds;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getStatusId() {
                return statusId;
            }

            public void setStatusId(int statusId) {
                this.statusId = statusId;
            }

            public int getRounds() {
                return rounds;
            }

            public void setRounds(int rounds) {
                this.rounds = rounds;
            }
        }

        public static class ResBean {
            /**
             * id : 1
             * v_id : 100002
             * is_join : false
             * a_id : 1002025
             * b_id : 1002026
             * a_nickname :
             * b_nickname :
             * a_avatar :
             * b_avatar :
             * desk_name : 第1桌
             * status_view : 进行中
             * status_id : 1
             * is_verify : false
             * a_result : 0
             * b_result : 0
             * Sort : 0
             */

            private int id;
            private int v_id;
            private boolean is_join;
            private int a_id;
            private int b_id;
            private String a_nickname;
            private String b_nickname;
            private String a_avatar;
            private String b_avatar;
            private String desk_name;
            private String status_view;
            private int status_id;
            private boolean is_verify;
            private boolean is_submit;
            private int a_result;
            private int b_result;
            private int Sort;

            public boolean isIs_submit() {
                return is_submit;
            }

            public void setIs_submit(boolean is_submit) {
                this.is_submit = is_submit;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getV_id() {
                return v_id;
            }

            public void setV_id(int v_id) {
                this.v_id = v_id;
            }

            public boolean isIs_join() {
                return is_join;
            }

            public void setIs_join(boolean is_join) {
                this.is_join = is_join;
            }

            public int getA_id() {
                return a_id;
            }

            public void setA_id(int a_id) {
                this.a_id = a_id;
            }

            public int getB_id() {
                return b_id;
            }

            public void setB_id(int b_id) {
                this.b_id = b_id;
            }

            public String getA_nickname() {
                return a_nickname;
            }

            public void setA_nickname(String a_nickname) {
                this.a_nickname = a_nickname;
            }

            public String getB_nickname() {
                return b_nickname;
            }

            public void setB_nickname(String b_nickname) {
                this.b_nickname = b_nickname;
            }

            public String getA_avatar() {
                return a_avatar;
            }

            public void setA_avatar(String a_avatar) {
                this.a_avatar = a_avatar;
            }

            public String getB_avatar() {
                return b_avatar;
            }

            public void setB_avatar(String b_avatar) {
                this.b_avatar = b_avatar;
            }

            public String getDesk_name() {
                return desk_name;
            }

            public void setDesk_name(String desk_name) {
                this.desk_name = desk_name;
            }

            public String getStatus_view() {
                return status_view;
            }

            public void setStatus_view(String status_view) {
                this.status_view = status_view;
            }

            public int getStatus_id() {
                return status_id;
            }

            public void setStatus_id(int status_id) {
                this.status_id = status_id;
            }

            public boolean isIs_verify() {
                return is_verify;
            }

            public void setIs_verify(boolean is_verify) {
                this.is_verify = is_verify;
            }

            public int getA_result() {
                return a_result;
            }

            public void setA_result(int a_result) {
                this.a_result = a_result;
            }

            public int getB_result() {
                return b_result;
            }

            public void setB_result(int b_result) {
                this.b_result = b_result;
            }

            public int getSort() {
                return Sort;
            }

            public void setSort(int Sort) {
                this.Sort = Sort;
            }
        }
    }
}
